/**
 * Queue Test
 */
package cn.netjava.softkid.chapter02;

/**
 * @author softkid
 *
 */
public class QueueTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Queue queue = new Queue();
		queue.addElement("a");
		queue.addElement("b");
		queue.addElement("c");
		queue.addElement("d");
		System.out.println(queue.peek());
		System.out.println("lll:"+queue.remove());
		queue.output();
	}

}
